package com.ebring.shareEducation.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Cola
 * Date  2018-12-20 10:10
 * <p>
 * 视频购买记录
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "VIDEO_ORDER")
public class VideoOrder {

    @Id
    private String idNo;    // 购买记录ID
    private String userId;  // 被购买人ID
    private String buyId;   // 购买人ID
    private String transtime;  // 交易时间
    private String money;   // 交易金额(元)
    private String videoId;   // 视频ID
}
